package cn.iocoder.yudao.module.book.controller.app.bookClassify.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 类别新增/修改 Request VO")
@Data
public class AppClassifySaveReqVO {

    @Schema(description = "类别id", requiredMode = Schema.RequiredMode.REQUIRED, example = "901")
    private Integer classifyId;

    @Schema(description = "分类集合	", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "分类集合	不能为空")
    private String categoryList;

    @Schema(description = "类别名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类别名称不能为空")
    private String title;

}